package com.infore.airsupervise.app;

/**
 * 应用程序常量类：用于保存、定义常量
 *
 * @author: dingxinlin
 * @date: 2016-09-01 15:18
 */
public class Constants {

    /**
     * 每页数据条数
     */
    public static final int PAGE_COUNT = 20;

    /**
     * Intent键名
     */
    public static final String INTENT_OBJ_KEY = "INTENT_OBJ_KEY";
    public static final String INTENT_INT_KEY = "INTENT_INT_KEY";
    public static final String INTENT_STR_KEY = "INTENT_STR_KEY";


    /**
     * 偏好设置键名
     */
    public static final String SP_FILE_USER = "SP_FILE_USER";
    public static final String SP_USER_INFO_KEY = "SP_USER_INFO_KEY";
    public static final String SP_LAST_LOCATION_KEY = "SP_LAST_LOCATION_KEY";
    public static final String SP_LOGIN_STATE_KEY = "SP_LOGIN_STATE_KEY";
    public static final String SP_ALLPSON_KEY = "SP_ALLPSON_KEY";
    public static final String SP_STATIONTREE_KEY = "SP_STATIONTREE_KEY";

    public static final String SP_FILE_GRID  = "SP_FILE_GRID";
    public static final String SP_ALLGRID_KEY = "SP_ALLGRID_KEY";
    public static final String SP_VIDEO_TOKEN_KEY = "SP_VIDEO_TOKEN_KEY";

    /**
     * 请求参数名
     */
    public static final String USER_ID_KEY = "userId";
    public static final String LAST_ID_KEY = "lastId";
    public static final String PAGER_NUM_KEY= "pageNum";
    public static final String MISSION_ID_KEY = "missionId";

    /**
     * 响应数据键名
     */
    public static final String RESPONSE_BEAN_KEY = "bean";
    public static final String RESPONSE_BEAN_LIST_KEY = "beanList";
    public  static final  String REQUESTHEAD_KEY = "token";

    /**
     * 登录失效广播
     */
    public static final String ACTION_INTENT_RELOGIN = "com.szusst.arisurpervise.Constant.ACTION_INTENT_RELOGIN";
//    /**
//     * 退出登录
//     */
//    public static final String ACTION_INTENT_OUT = "com.szusst.arisurpervise.Constant.ACTION_INTENT_OUT";
}
